Java/C++/C#: Add nodes predicate to PathGraph.#1881
Conversation
hvitved
left a comment
There was a problem hiding this comment.
This means we should be able to get rid of the direct source-to-sink step (https://github.com/aschackmull/ql/blob/a898f5781e9bff1b5dce747d18a8c37ccb47aada/cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll#L1662), right?
yh-semmle
left a comment
There was a problem hiding this comment.
Expected test output still needs updating.
a898f57 to
6299625
Compare
|
I've included a commit to fix the |
Possibly, yes. But I think that's best left to a separate PR. This is about getting the right |
OK, I would have thought the two would go together; the sink-to-source step was basically a workaround needed because of the missing |
|
Language-Tests/Java is btw. not expected to succeed here, but it is green on the internal PR. |
This ensures that we show the
toStringand thus the accesspath in all contexts, in particular lgtm.com.